projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
782d302
)
stdvga: avoid bogus warning message
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 9 Mar 2010 12:34:39 +0000
(12:34 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 9 Mar 2010 12:34:39 +0000
(12:34 +0000)
Prevents stdvga to print the 'unsupported mmio request type'
warning when the actual request type is 'IOREQ_TYPE_COPY'.
This avoids confusion.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen/arch/x86/hvm/stdvga.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/stdvga.c
b/xen/arch/x86/hvm/stdvga.c
index b2faaa0eca28ddeae8e7ed0f73a39d5095097cdc..ff9b3f68dce9df153362d1a3cfad68d6e461d0ba 100644
(file)
--- a/
xen/arch/x86/hvm/stdvga.c
+++ b/
xen/arch/x86/hvm/stdvga.c
@@
-561,8
+561,9
@@
static int stdvga_intercept_mmio(ioreq_t *p)
{
case IOREQ_TYPE_COPY:
buf = mmio_move(s, p);
- if ( buf )
- break;
+ if ( !buf )
+ s->cache = 0;
+ break;
default:
gdprintk(XENLOG_WARNING, "unsupported mmio request type:%d "
"addr:0x%04x data:0x%04x size:%d count:%d state:%d "